/*
 * @Description:字典controller
 * @Version: 2.0
 * @Autor: kafei
 * @Date: 2021-12-01 11:20:20
 * @LastEditors: kafei
 * @LastEditTime: 2021-12-01 11:22:39
 */
const result = require("../utils/result");
const { getMapByTypeServer } = require("../server/mapServer");

async function getMapByTypeController(type) {
  const data = await getMapByTypeServer(type);
  return result("0", { data });
}
module.exports = {
  getMapByTypeController
};
